﻿using System;
using System.IO;

namespace PhotoManager
{
    /// <summary>
    /// Represents a photo in a photo collection.
    /// </summary>
    public class PhotoItem
    {
        public FileInfo FileInfo { get; set; }

        public PhotoInfo PhotoInfo { get; set; }
        
        public PhotoItem(FileInfo fileInfo, PhotoInfo photoInfo)
        {
            if (fileInfo == null)
                throw new ArgumentNullException("fileInfo");
            if (photoInfo == null)
                throw new ArgumentNullException("photoInfo");

            this.FileInfo = fileInfo;
            this.PhotoInfo = photoInfo;
        }
    }
}
